package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 活动内容显示
 */
@Getter
@Setter
@Document(collection = "activity_dau_data")
public class ActivityDauData extends EntityBase {
    @Indexed
    private String userId;
    @Indexed
    private String activityId;
    /**
     * 1:活动,2:收款s
     */
    @Indexed
    private Integer bizType;
    /**
     * 访问次数
     */
    private Integer num;
    /**
     * 首次访问时间
     */
    private Date firstTime;
    /**
     * 日数据
     */
    @Indexed
    private Date dayTime;
}
